*{margin: 0px; padding: 0px;}
li{list-style: none; }
a{text-decoration: none;}
img{vertical-align: bottom;}

:root{
	--background:#292F34;
}

.header{
	height: 60px;
	width: 100%;
	background: #25292E;
	
	display: flex;
}

.logo{
	height: 40px;
	width: 95px;
	background: url("../img/icon.png");
	
}
/* 头部导航 */
 .header .h{ 
	width: 1000px;
	
	height: 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin:0px auto;
} 
/* 右侧导航 */
.header-right{
	display: flex;
	align-items:center;
}
.header-right>div{
	height: 56px;
	cursor: pointer;
	font-size: 13px;
	padding:0px 10px;
	color: #666;
}
.header-right>a{
	font-size: 13px;
	margin:0px 8px;
	color: white;
	cursor: pointer;
	
}
.user-wrapper>h1,.cart-wrapper>h1,.message-wrapper>h1,.add-wrapper>h1{
	line-height:56px;
	font-size: 13px;
	height: 56px;
	/* width: 58px; */
}
.agreementr{
	line-height:56px;
}

.header-right .line{
	color: #666;
	font-size: 13px;
	
}
.user-wrapper{
	display: none;
}
.user-wrapper>h1 {
    padding-left: 36px;
    background: url(../img/user_logo.png) no-repeat 0px center;
}
.user-wrapper,.message-wrapper,.cart-wrapper{
	
	position:relative;
	z-index: 9;
}
.user-wrapper:hover .user-info,.message-wrapper:hover .message-list{
	display: block;
}
.user-wrapper:hover,.message-wrapper:hover{
	/* background: #292F34; */
	background:var(--background);
}
.user-info{
	line-height:56px;
    position: absolute;
	left:0px;
	top:56px;
	background:var(--background);
    width:170px;
	display: none;
}
.user-info ul ,.message-list ul{
	padding: 0px 15px;
}
.user-info ul>li,.message-list ul>li{
	height: 42px;
	font-size: 13px;
	border-bottom: 1px solid #393E43;
	line-height: 42px;
	color: white;
}
.user-info ul>li>a,.message-list ul>li>a{
	color: white;
}
.outlogin{
	color: white;
	text-align: center;
}
/* 购物下拉 */
.cart-wrapper:hover .cart-info{
	display: block;
}
.cart-wrapper:hover{
	background:var(--background);
}
.cart-wrapper{
	position:relative;

}
.cart-info{
	position: absolute;
	left:0px;
	top:56px;
	width:320px;
	background:var(--background);
	display: none;
		
}
.cart-info ul{
	max-height: 170px;
	overflow-y: scroll;
}
.cart-info ul::-webkit-scrollbar{
	width: 0px;
}
.cart-info ul>li>a>img{
	width:65px;
	padding: 0px 5px;
}
.cart-info ul>li{
	padding: 10px 5px;
	display: flex;
	border-top: 1px solid #393E43;
	
}
.cart-info ul>li>div{
	width:300px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.cart-info ul>li>div :nth-child(2){
/* 	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis; */
}
.cart-info ul>li>div>:first-child{
	color:white;
}
.cart-info ul>li>div>:last-child{
	
	display:flex;
	justify-content: space-between;
}
.look{
	
	margin-top: 5px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	color: white;
	background-color: #7DBFDE;
	
}

.message-list{
	line-height:56px;
	position: absolute;
	left:-70px;
	top:56px;
	background:var(--background);
	width:170px;
	display: none;
}


nav{
	width:1000px;
	height:45px;
    position: relative;
	margin: 0px auto;
	/* border-bottom: 4px solid #EDEDED; */
	display: flex;
	z-index:8;
	
	
}

nav>ul>li{
	cursor: pointer;
	font-size: 15px;
	text-align:center;
	height:45px;
	width: 100px;
	border-bottom: 4px solid #EDEDED;
	
}


nav>ul>li:hover{
	
	border-color: #25292E;
	
}


nav>ul>li>a, nav>ul>li>h1 {
	color: #333;
	font-size: 15px;
	line-height: 45px;
	font-weight: normal;
	text-align: center;
}
.nav-goods-list{
	width:1000px;
	height:450px;
	position: absolute;
	top:49px;
	left:0px;
	display: none;
	padding-top:20px;
	
}
nav>ul>li:hover .nav-goods-list{
	display: block;
}
/* 商店下拉 */
.nav-goods-list-r>img{
	width:230px;
}
.nav-goods-list-r>p{
	margin-top:10px;
}
.nav-goods-list-r{
	float: right;
}
.nav-goods-list-l{
	float: left;
	width: 700px;
	height: 450px;
}
.nav-goods-list-l ul{
	flex-wrap: wrap;
}
.nav-goods-list-l>div{
	width:200px;
}
.nav-goods-list-l ul>li{
	margin:0 60px 30px 0;
}
.nav-goods-list-l ul>li>a{
	color: #666;
}
.nav-goods-list-l ul>li>a>img{
	width:45px;
}
.nav-goods-list-l ul>li>a>p{
	font-size:13px;
}
/* 杂志下拉列表 */
.nav-magazine-list{
	width:1000px;
	height:100px;

	position: absolute;
	padding-top: 20px;
	top:49px;
	left:0px;
	display: none;
}
.nav-magazine-list>ul{
	flex-wrap: wrap;
}
.nav-magazine-list>ul>li{
	width:30px;
	
	margin:0 60px 10px 0;
}
.nav-magazine-list>ul>li>a{
	font-size: 10px;
}
.nav-magazine-list>ul{
	width:900px;
	
}

nav>ul>li:hover .nav-magazine-list{
	display: block;
}


.search>input{
	height:45px;
	width:350px;
	outline:none;
	border:none;

}

.search{
	
	height:45px;
	border-bottom: 4px solid #EDEDED;
	
}

.search input:focus{
	border-bottom: 4px solid #25292E;
}

.search>span{
	height:45px;
	width:45px;
	background: url(../img/icon.png) no-repeat -157px -142px;
}


.nav-goods-list,.nav-magazine-list,.nav-magazine-list{
	background: white;
}



hr{
	color: #EDEDED;
	
	 margin: 80px 0;
	
}
.end{
	width:1000px;
	

	margin:60px auto;
}
.end >div:nth-child(1){
	margin: 0 auto;
	width: 248px;
}
	

.end div>span{
	width:50px;
	background: url(../img/icon.png) no-repeat -170px -350px;
}

.end div:nth-child(1){
	font-size:16px;
	font-weight: bold;
	
}
.end>div:nth-child(2){
	
	margin-top: 60px;
}



.f{
	width:56px;
	height:61px;
	background: url(../img/icon.png) no-repeat 0px -354px;
	margin-right:10px;
}
.s{
	width:56px;
	height:61px;
	background: url(../img/icon.png) no-repeat -153px -220px;
	margin-right:10px;
}
.t{
	width:56px;
	height:61px;
	background: url(../img/icon.png) no-repeat -56px -355px;
	margin-right:10px;
}
.l{
	width:56px;
	height:61px;
	background: url(../img/icon.png) no-repeat -112px -355px;
	margin-right:10px;
}

.end div>ul>li>div:nth-child(2) p:nth-child(1){
	font-size: 15px;
}
.end div>ul>li>div:nth-child(2) p:nth-child(2){
	color:#999;
	font-size: 13px;
}

.shouz>span{
	transition: 0.5s;
}
.shouz>span:hover{
	transform: translateX(15px);
}

footer{
	width:100%;
	height:250px;
	background: #25292E;
}

.footer-info{
	width:1000px;
	height: 100%;
	
	margin: 0 auto;
	
}
.footer-info>:nth-child(1){
	width: 100%;
	height: 45px;
}
.footer-info-l>:nth-child(1){
	width: 41px;
	height: 45px;
	background: url(../img/icon.png) no-repeat -174px 0px;
}
.footer-info-l>:nth-child(2){
	color: #666;
}
.footer-info-l>:nth-child(2):hover{
	color: #CCC;
}
.footer-info-r{
	width: 131px;
	height: 26px;
	
}

.footer-info-r :nth-child(1){
	width: 26px;
	height: 20px;
	background: url(../img/icon.png) no-repeat -100px -23px;
}
.footer-info-r :nth-child(2){
	width: 23px;
	height: 20px;
	background: url(../img/icon.png) no-repeat -150px -23px;
}
.footer-info-r :nth-child(3){
	width: 18px;
	height: 20px;
	background: url(../img/icon.png) no-repeat -129px -25px;
}

.footer-info-r>span:hover{
	
	background: url(../img/icon.png) no-repeat -100px -20px;
}
.footer-info>ul{
	color: #666;
	font-size: 14px;
}
.footer-info>ul>li:hover{
	color: #CCC;
	
}

.LoginAlert{
	width: 100%;
	height: 100%;
	position: fixed;
	left:0px;
	top: 0px;
	background: #333;
	opacity: 0.4;
	z-index: 10;
	display: none;
}
.plogin{
	width: 650px;
	height: 320px;
	position: fixed;
	left: 625.5px;
	top: 311px;
	/* top: 111px; */
	z-index: 99;
	background: url("http://imgs-qn.iliangcang.com/images/default/log_bg.jpg") no-repeat left top;

	display: none;
}
.plogin div{
	color: white;
}
.plogin>:nth-child(1){
	width: 568px;
	margin: 33px auto 40px;
}
.cha{
	width: 18px;
	height: 18px;
	
	background: url(../img/icon.png) no-repeat 0 -469px;
}
.plogin-b{
	width: 568px;
	margin: 0 auto;
}
.plogin-b-l{
	width: 264px;
	height: 186px;
}
.inputname{
	width: 264px;
	height: 40px;
	color: white;
	resize: none;
	font-size: 14px;
    padding-left: 5px;
	color: black;
	filter: alpha(Opacity = 80);
	opacity: 0.5;
	
}
.inputpassword{
	margin-top: 10px;
	width: 264px;
	height: 40px;
	resize: none;
	 padding-left: 5px;
	font-size: 14px;
	color: black;
	filter: alpha(Opacity = 80);;
	opacity: 0.5;
}
.plogin-b-l>:nth-child(3) {
	margin-top: 40px;
	width: 264px;
}
.loginBnt{
	width: 156px;
	height: 40px;
	background: #25292E;
	text-align: center;
	line-height: 40px;
	cursor: pointer;
}
.plogin-b-l>:nth-child(3) div>a{
	color: white;
}
.icon span>img{
	width: 23px;
	height: 23px;
}
.icon{
	margin-top: 30px;
	width: 250px;
}